import request from '@/utils/request'

// 查询角色列表
export function getMaterialByPage(query) {
  return request({
    url: '/system/material/getMaterialByPage',
    method: 'post',
    data: query
  })
}

// 查询角色详细

export function addMaterial(query) {
  return request({
    url: '/system/material/addMaterial',
    method: 'post',
    data: query
  })
}
  

export function delMaterial(query) {
  return request({
    url: '/system/material/delMaterial',
    method: 'post',
    data: query
  })
}
  

export function updateMaterial(query) {
  return request({
    url: '/system/material/updateMaterial',
    method: 'post',
    data: query
  })
}
  